diff options
| author | Adam Soltys <[email protected]> | 2024-12-05 19:20:36 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-12-05 19:20:36 -0800 |
| commit | a9b44cbae79e9c01cff07964a45e1c7efa7fb241 (patch) | |
| tree | 5caa996fc2eca705fb793e79d63bfbf5f9f93e48 /src/routes/(app)/[username]/(profile)/+layout.svelte | |
| parent | 6422ef30f14e1baf5d1995de69c777efcad77e32 (diff) | |
| download | coinos-ui-a9b44cbae79e9c01cff07964a45e1c7efa7fb241.tar.gz coinos-ui-a9b44cbae79e9c01cff07964a45e1c7efa7fb241.zip | |
cached rates
Diffstat (limited to 'src/routes/(app)/[username]/(profile)/+layout.svelte')
| -rw-r--r-- | src/routes/(app)/[username]/(profile)/+layout.svelte | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/routes/(app)/[username]/(profile)/+layout.svelte b/src/routes/(app)/[username]/(profile)/+layout.svelte index 98d4238b..3887d026 100644 --- a/src/routes/(app)/[username]/(profile)/+layout.svelte +++ b/src/routes/(app)/[username]/(profile)/+layout.svelte @@ -25,10 +25,10 @@ let { events, + rate, user, subject, src, - rates, text, follows, followers, @@ -292,13 +292,13 @@ <div class="my-auto mr-1">1</div> <img src="/images/bitcoin.svg" class="w-5 my-auto" alt="Bitcoin" /> </div> - <div>= {f(rates[currency], currency, locale, 0, 0)}</div> + <div>= {f(rate, currency, locale, 0, 0)}</div> </div> <div class="text-secondary flex ml-auto"> <div class="flex items-center"> <iconify-icon icon="ph:lightning-fill" class="text-yellow-300" ></iconify-icon> - {s((1 * sats) / rates[currency])} = + {s((1 * sats) / rate)} = {f(1, currency, locale, 0, 0)} </div> </div> |
